{% load mytags %}
<form action="" >
    <table class="table table-hover table-bordered">
        <thead>
            <th class="text-center">项目</th>
            <th class="text-center">接收服务器的ip</th>
            <th class="text-center">文件名</th>
            <th class="text-center">传输位置</th>
            <th class="text-center">状态</th>
            <th class="text-center">日志信息</th>
            <th class="text-center">传输时间</th>
            <th class="text-center">操作人</th>
        </thead>
        <tbody>
            {% for num in status_info %}
            <tr class="text-center">
                <td>{{num.project}}</td>
                <td>{{num.p_ip}}</td>
                <td>{{num.filename}}</td>
                <td>{{num.remote_path}}</td>
                <td>
                    <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: {{num.status}}">{{num.status}}</div>
                </td>
                <td>{{num.log|safe}}</td>
{#                <td>{{num.trans_time| print_time }}</td>#}
                <td>{{num.total_time}}s</td>
                <td>{{num.operator}}</td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
</form>